package demo;

import java.text.SimpleDateFormat;
import java.util.Date;

import utils.SupTest;

/**
 * 
 * @ClassName ZMAuthQueryDemo
 * @description 
 * @author liyx
 * @time 2017年4月27日 下午3:46:10
 */
public class ZhiMaAuthQueryDemo101007 extends SupTest {
	public static void main(String[] args) throws Exception {
	  String orderId=new SimpleDateFormat("yyyyMMddHHmmss").format(new Date());
	  String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>"+
        "<subatm>"+
           "<application>GwBiz.Req</application>"+
           "<version>1.0.0</version>"+
           "<sendTime>"+new SimpleDateFormat("yyyyMMddHHmmss").format(new Date())+"</sendTime>"+
           "<transCode>101007</transCode>"+
           "<channelId>" + channelId + "</channelId>" +
           "<channelOrderId>"+orderId+"</channelOrderId>"+
           "<returnUrl>http://testgate.manmanfu.cn/hddc-biz/sesameCredit/back</returnUrl>"+
          "<linkedMerchantId>2088621466375255</linkedMerchantId>"+
           "<authCode>M_H5</authCode>"+
           "<name>xxx</name>"+
           //"<certNo>320911199002183415</certNo>"+
           // "<certNo>342531199211080024</certNo>"+
             // "<certNo>321322198609092213</certNo>"+
           "<certNo>xxxxxxxxxxxxx</certNo>"+
           "</subatm>";
		checkRiskSystem(xml); // 风险控制系统验证
	}
	
}
